userscriptmatch

2022年5月13日—Isthereawayinjavascripttoaccesstheurlwhichwasmatchedwithauserscript?Ihaveauserscript(Tampermonkey)thathasmultiple'@match ...,Whentheuserscriptisinstalled,Tampermonkeywillcalculatethehashoftheresourceandcompareittotheincludedhash.Ifthetwohashesdonotmatch, ...,2018年9月21日—Thisquestioniscloselyrelatedto:Greasemonkey/Tampermonkey@matchforapagewithparameters.@matchonlyworksontheprot...

access @match url

2022年5月13日 — Is there a way in javascript to access the url which was matched with a userscript? I have a userscript (Tampermonkey) that has multiple '@match ...

Documentation

When the userscript is installed, Tampermonkey will calculate the hash of the resource and compare it to the included hash. If the two hashes do not match, ...

How to @match a URL hash in a userscript?

2018年9月21日 — This question is closely related to: Greasemonkey/Tampermonkey @match for a page with parameters. @match only works on the protocol/scheme, ...

Include and exclude rules

User scripts specify include and exclude rules in the metadata block. The script will execute if it matches any include rule, as long as it does not match ...

Metadata Block

2023年11月6日 — The metadata block is a section of a user script that describes the script. It usually contains the script name, namespace, description, and ...

User Scripts

Match Patterns. The preferred way to specify the pages that a user script should run against in Chromium is the @match attribute. Here are some examples of ...

Userscript @match & @exclude to match paths at certain ...

2023年7月17日 — How can one use @match and @exclude rules in a userscript to match URLs that have an arbitrary path at a certain level (a level being each new ...

Userscript:碗都敲破了還沒有新功能,那就自己做吧!

2019年5月11日 — 如何開發userscript · 自己常用的是Tampermonkey · @match 讓extension 知道在哪些URL 下要執行,@grant 可以讓你存取一些方便的function,詳細的使用方法就 ...

前端小試身手(4)--it幫發文「一眼全覽」

... match https://ithelp.ithome.com.tw/users/* // @require https://code.jquery ... tw // @grant none // ==/UserScript== (function() const AllUrl=[]; let Id ...

前端小試身手(6)--IMG複製大師,懶人專用小腳本

// ==UserScript== // @name IMG複製大師// @namespace http://tampermonkey.net ... match(regex); if (match) // 如果匹配成功,構建新的URL const imgurId ...

訊6空間下載免等囉!(xun6)

訊6空間下載免等囉!(xun6)

近來綠色工廠常常利用訊6的空間來分享檔案,說實在是想試試看他的網賺效益,不過我的都是小檔看來頗難賺的(三個月不到台幣300)~只是目前還是持續的使用當中,也因此大家還是有機會下載訊6分享的檔案,不過訊6...